/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

/**
 *
 * @author Jordyson
 */
public class TelaCadastroReserva extends javax.swing.JInternalFrame {

    /**
     * Creates new form JInternalFrameCadastroReserva
     */
    public TelaCadastroReserva() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jDateChooser1 = new com.toedter.calendar.JDateChooser();
        jDateChooser2 = new com.toedter.calendar.JDateChooser();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jComboBox1 = new javax.swing.JComboBox();
        jComboBox2 = new javax.swing.JComboBox();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jComboBox3 = new javax.swing.JComboBox();
        jLabel6 = new javax.swing.JLabel();
        jComboBox4 = new javax.swing.JComboBox();
        jbCancelar = new javax.swing.JButton();
        jbBuscaQuarto = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jScrollBar1 = new javax.swing.JScrollBar();
        jLabel7 = new javax.swing.JLabel();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Cadastro Reserva");
        getContentPane().setLayout(null);

        jLabel1.setText("Check In :");
        getContentPane().add(jLabel1);
        jLabel1.setBounds(40, 380, 90, 30);
        getContentPane().add(jDateChooser1);
        jDateChooser1.setBounds(110, 380, 110, 30);
        getContentPane().add(jDateChooser2);
        jDateChooser2.setBounds(370, 380, 110, 30);

        jLabel2.setText("Check Out :");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(290, 370, 90, 40);

        jLabel3.setText("Quantidade de Quartos : ");
        getContentPane().add(jLabel3);
        jLabel3.setBounds(40, 440, 150, 40);

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
        getContentPane().add(jComboBox1);
        jComboBox1.setBounds(190, 440, 70, 40);

        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }));
        getContentPane().add(jComboBox2);
        jComboBox2.setBounds(190, 510, 70, 40);

        jLabel4.setText("Quantidade de Adultos : ");
        getContentPane().add(jLabel4);
        jLabel4.setBounds(40, 510, 150, 40);

        jLabel5.setText("Quantidade de Crianças :");
        getContentPane().add(jLabel5);
        jLabel5.setBounds(340, 510, 160, 40);

        jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }));
        getContentPane().add(jComboBox3);
        jComboBox3.setBounds(510, 510, 70, 40);

        jLabel6.setText("Categoria Quarto :");
        getContentPane().add(jLabel6);
        jLabel6.setBounds(340, 440, 120, 40);

        jComboBox4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Standard", "5 Estrelas", "Suíte Presidencial" }));
        getContentPane().add(jComboBox4);
        jComboBox4.setBounds(460, 440, 130, 40);

        jbCancelar.setText("Cancelar");
        jbCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbCancelarActionPerformed(evt);
            }
        });
        getContentPane().add(jbCancelar);
        jbCancelar.setBounds(740, 580, 120, 40);

        jbBuscaQuarto.setText("Buscar");
        jbBuscaQuarto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbBuscaQuartoActionPerformed(evt);
            }
        });
        getContentPane().add(jbBuscaQuarto);
        jbBuscaQuarto.setBounds(370, 40, 110, 40);

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(jTable1);

        getContentPane().add(jScrollPane1);
        jScrollPane1.setBounds(30, 150, 650, 170);
        getContentPane().add(jScrollBar1);
        jScrollBar1.setBounds(970, 30, 17, 610);

        jLabel7.setText("Clique em Buscar para listar os quartos Disponíveis");
        getContentPane().add(jLabel7);
        jLabel7.setBounds(40, 40, 280, 40);

        setBounds(0, 0, 994, 710);
    }// </editor-fold>//GEN-END:initComponents

    private void jbBuscaQuartoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbBuscaQuartoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jbBuscaQuartoActionPerformed

    private void jbCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbCancelarActionPerformed
        
        this.dispose();
    }//GEN-LAST:event_jbCancelarActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JComboBox jComboBox3;
    private javax.swing.JComboBox jComboBox4;
    private com.toedter.calendar.JDateChooser jDateChooser1;
    private com.toedter.calendar.JDateChooser jDateChooser2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JScrollBar jScrollBar1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    private javax.swing.JButton jbBuscaQuarto;
    private javax.swing.JButton jbCancelar;
    // End of variables declaration//GEN-END:variables
}
